package com.dm.decorator.demo01;

/**
 * 装饰者
 * @author Administrator
 *
 */
public abstract class Decorator implements VisualComponent{
	protected VisualComponent visualComponent;
	
	public Decorator(VisualComponent visualComponent){
		this.visualComponent = visualComponent;
	}
	
	@Override
	public void draw() {
		visualComponent.draw();
	}
}
